using MediatR;

namespace SumerCoreDevOps.Application.Workflows.Queries;

/// <summary>
/// 验证工作流查询
/// </summary>
public record ValidateWorkflowQuery(long Id) : IRequest<WorkflowValidationResult>;

/// <summary>
/// 工作流验证结果
/// </summary>
public record WorkflowValidationResult(bool IsValid, List<string> Errors);
